<!--
 * @Author: your name
 * @Date: 2020-06-29 16:02:29
 * @LastEditTime: 2020-07-06 17:01:28
 * @LastEditors: Please set LastEditors
 * @Description: 商品信息
 * @FilePath: \JKShopping\jkshopping\src\pages\home\components\goodsDetails\components\goodsInfo.vue
--> 
<template>
  <div class="goodsInfo">
    <div class="left">
      <h1>{{datas.goods_name}}</h1>
      <p class="goods_brief">{{datas.goods_brief}}</p>
      <div class="goods_price">
        {{datas.goods_price | rmb}}
        <p>会员价&nbsp;{{datas.goods_price | rmb}}</p>
      </div>
      <p class="goods_sale">已售：393件</p>
    </div>
    <div class="right">
      <svg
        t="1593419424015"
        class="icon"
        viewBox="0 0 1024 1024"
        version="1.1"
        xmlns="http://www.w3.org/2000/svg"
        p-id="4643"
      >
        <path
          d="M913.082306 951.850773 108.870058 951.850773c-22.035876 0-39.962154-17.927301-39.962154-39.962154L68.907904 107.676371c0-22.034852 17.927301-39.962154 39.962154-39.962154l341.048513 0c11.30344 0 20.466124 9.162684 20.466124 20.466124s-9.162684 20.466124-20.466124 20.466124L109.840152 108.646466l0 802.27206 802.27206 0L912.112212 573.398372c0-11.30344 9.162684-20.466124 20.466124-20.466124s20.466124 9.162684 20.466124 20.466124l0 338.490248C953.04446 933.924495 935.117159 951.850773 913.082306 951.850773z"
          p-id="4644"
        />
        <path
          d="M932.578336 403.359674c-11.30344 0-20.466124-9.162684-20.466124-20.466124l0-274.246061L639.230218 108.647489c-11.30344 0-20.466124-9.162684-20.466124-20.466124s9.162684-20.466124 20.466124-20.466124l273.852088 0c22.034852 0 39.962154 17.927301 39.962154 39.962154L953.04446 382.89355C953.04446 394.195967 943.881776 403.359674 932.578336 403.359674z"
          p-id="4645"
        />
        <path
          d="M318.935378 724.676797c-5.251607 0-10.502192-2.00875-14.500249-6.02318-7.976672-8.008394-7.951089-20.966521 0.057305-28.943193L914.609079 82.001619c8.006348-7.976672 20.964474-7.952112 28.943193 0.057305 7.976672 8.008394 7.952112 20.966521-0.057305 28.943193L333.378321 718.710922C329.385381 722.688513 324.159356 724.676797 318.935378 724.676797z"
          p-id="4646"
        />
      </svg>
      <p>分享</p>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    datas: {
      type: Object,
      required: true
    }
  }
};
</script>

<style lang="scss" scoped>
@import "@/style/home/goodsInfo.scss";
</style>